package com.kayt.cyberBar.statistics.entity.po;

import com.kayt.cyberBar.common.base.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * Description
 *
 * @author Kevin
 * @since 12/29/2017 15:13
 */
@Entity
@Table(name="b_statistics_company_sales_month")
@NamedQuery(name="BStatisticsCompanySalesMonth.findAll", query="SELECT b FROM BStatisticsCompanySalesMonth b")
public class BStatisticsCompanySalesMonth extends BaseEntity {
    private Long id;
    private Double totalIncome;
    private Double productIncome;
    private Double barIncome;
    private Double internetIncome;
    private Double totalExpenditure;
    private Double barCount;
    private Double productCount;
    private Double otherIncome;
    private Double purchaseExpenditure;
    private Double toolsExpenditure;
    private Double teamExpenditure;
    private Double dayExpenditure;
    private Double activityExpenditure;

    private Double orderConvert;
    private Double profit;
    private String companyCode;
    private Date createTime;
    private Date updateTime;
    private Date statisticsTime;
    private Double cyberCount;
    private Double cyberNew;
    private Double orderCount;
    private Double orderPreCount;
    @Column(name = "d_order_precount")
    public Double getOrderPreCount() {
        return orderPreCount;
    }

    public void setOrderPreCount(Double orderPreCount) {
        this.orderPreCount = orderPreCount;
    }

    @Column(name = "d_order_count")
    public Double getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Double orderCount) {
        this.orderCount = orderCount;
    }
    @Column(name = "d_cyber_count")
    public Double getCyberCount() {
        return cyberCount;
    }

    public void setCyberCount(Double cyberCount) {
        this.cyberCount = cyberCount;
    }
    @Column(name = "d_cyber_new")
    public Double getCyberNew() {
        return cyberNew;
    }

    public void setCyberNew(Double cyberNew) {
        this.cyberNew = cyberNew;
    }
    @Column(name = "d_internet_income")
    public Double getInternetIncome() {
        return internetIncome;
    }

    public void setInternetIncome(Double internetIncome) {
        this.internetIncome = internetIncome;
    }
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "d_id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    @Column(name = "d_other_income")
    public Double getOtherIncome() {
        return otherIncome;
    }

    public void setOtherIncome(Double otherIncome) {
        this.otherIncome = otherIncome;
    }
    @Column(name = "d_purchase_expenditure")
    public Double getPurchaseExpenditure() {
        return purchaseExpenditure;
    }

    public void setPurchaseExpenditure(Double purchaseExpenditure) {
        this.purchaseExpenditure = purchaseExpenditure;
    }
    @Column(name = "d_tools_expenditure")
    public Double getToolsExpenditure() {
        return toolsExpenditure;
    }

    public void setToolsExpenditure(Double toolsExpenditure) {
        this.toolsExpenditure = toolsExpenditure;
    }
    @Column(name = "d_team_expenditure")
    public Double getTeamExpenditure() {
        return teamExpenditure;
    }

    public void setTeamExpenditure(Double teamExpenditure) {
        this.teamExpenditure = teamExpenditure;
    }
    @Column(name = "d_day_expenditure")
    public Double getDayExpenditure() {
        return dayExpenditure;
    }

    public void setDayExpenditure(Double dayExpenditure) {
        this.dayExpenditure = dayExpenditure;
    }
    @Column(name = "d_activity_expenditure")
    public Double getActivityExpenditure() {
        return activityExpenditure;
    }

    public void setActivityExpenditure(Double activityExpenditure) {
        this.activityExpenditure = activityExpenditure;
    }

    @Column(name = "d_total_income")
    public Double getTotalIncome() {
        return totalIncome;
    }
    @Column(name = "d_product_count")
    public Double getProductCount() {
        return productCount;
    }

    public void setProductCount(Double productCount) {
        this.productCount = productCount;
    }

    public void setTotalIncome(Double totalIncome) {
        this.totalIncome = totalIncome;
    }
    @Column(name = "d_product_income")
    public Double getProductIncome() {
        return productIncome;
    }

    public void setProductIncome(Double productIncome) {
        this.productIncome = productIncome;
    }
    @Column(name = "d_bar_income")
    public Double getBarIncome() {
        return barIncome;
    }

    public void setBarIncome(Double barIncome) {
        this.barIncome = barIncome;
    }
    @Column(name = "d_total_expenditure")
    public Double getTotalExpenditure() {
        return totalExpenditure;
    }

    public void setTotalExpenditure(Double totalExpenditure) {
        this.totalExpenditure = totalExpenditure;
    }
    @Column(name = "d_bar_count")
    public Double getBarCount() {
        return barCount;
    }

    public void setBarCount(Double barCount) {
        this.barCount = barCount;
    }
    @Column(name = "d_order_convert")
    public Double getOrderConvert() {
        return orderConvert;
    }

    public void setOrderConvert(Double orderConvert) {
        this.orderConvert = orderConvert;
    }
    @Column(name = "d_profit")
    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }
    @Column(name = "d_company_code")
    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }
    @Column(name = "d_create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Column(name = "d_update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Column(name = "d_statistics_time")
    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }
}
